package main

import (
	"github.com/jjl309/oneGroup"
	grpc2 "google.golang.org/grpc"
	"user_srv/grpc"
	"user_srv/service"
)

func main() {
	oneGroup.InitViper("D:\\GoWork\\src\\88shop\\common\\dev.yaml")
	oneGroup.InitNaCos(func() {

	})
	oneGroup.InitMysql()
	oneGroup.InitRedis()

	grpc.RegisterGrpc("127.0.0.1", 8001, func(server *grpc2.Server) {
		service.Register(server)
	})
}
